<div class="user">
    <img SRC="img/avatar.png" width="44" height="44" class="hoverimg" alt="Avatar" />
    <p>Logged in as:</p>
    <p class="username"><?php print $this->session->userdata('user_name'); ?></p>
    <p class="userbtn"><a href="#" title="">Profile</a></p>
    <p class="userbtn"><a href="<?php print site_url('index/logout');?>" title="">Log out</a></p>
</div>
<div class="notifications">
    <p class="notifycount"><a href="" title="" class="notifypop">10</a></p>
    <p><a href="" title="" class="notifypop">New Notifications</a></p>
    <p class="smltxt">(Click to open notifications)</p>
</div>

<ul id="nav">
    <li>
        <ul class="navigation">
            <li class="heading selected">Quan ly bai viet</li>
            <li><a href="<?php print site_url('ck'); ?>" title="">Tao bai viet moi</a></li>
            
            <li><a href="#" title="">Section link here1</a></li>
            <li><a href="#" title="">Section link here2</a></li>
            <li><a href="#" title="">Section link here3</a></li>
            <li><a href="#" title="">Section link here4</a></li>
            <li><a href="#" title="">Section link here5</a></li>
        </ul>
    </li>
    <li>
        <a class="<?php print (isset($menu) && $menu == 'menu') ? 'expanded heading' : 'collapsed heading';?>">Quan ly menu</a>
         <ul class="navigation">
            <li><a href="#" title="">Them Menu</a></li>
            <li><a href="<?php print site_url('menu');?>" title="">Danh sach menu</a></li>
        </ul>
    </li>
    <li><a class="collapsed heading">Section Heading</a>
        <ul class="navigation">
            <li><a href="#" title="" class="likelogin">Section link here1</a></li>
            <li><a href="#" title="">Section link here2</a></li>
            <li><a href="#" title="">Section link here3</a></li>
        </ul>
    </li>
    <li>
        <a class="<?php print (isset($menu) && $menu == 'cauhinh') ? 'expanded heading' : 'collapsed heading';?>">Cau hinh</a>
         <ul class="navigation">
            <li><a href="<?php print site_url('ck/ckfinder/');?>" title="">Quan ly file</a></li>
            <li><a href="<?php print site_url('admin/default_html'); ?>" title="">Default HTMl</a></li>
        </ul>
    </li>
</ul>